If not
Doctype,
HtmlAnd
XHTML,
Strict
DTDAnd
TransitionalDTD,
Quirks
ModeAnd
StandardBefore reading this article, we strongly recommend that you read the DOCTYPE, HTML, XHTML, Quirks Mode, and Standard Mode
WebpageWhy are the results of this
In the HTML declaration DOCTYPE general will have the following several: Yes, there are HTML and XHTML, as well as transitional and strict. As the name implies, XHTML means that the document is written in XML format, while HTML means that the
Why declaration. Use doctype to declareInstance:
We often see code like this:
document title document content ......
Note:At the top of the list, we can see a statement about "DOCTYPE" (document type), which tells the browser which
Author DTD _ Baidu Encyclopedia: http://baike.baidu.com/view/147436.htm
DTDDocument Type Definition(Document Type Definition)DTD is a set of syntax rules for tags. It is part of the xml1.0 specification and is a validation mechanism for XML files.
By default, the interpretation criteria for FF and IE are different, that is, if a Web page does not declare DOCTYPE, it interprets the following HTML with the default DOCTYPE. Under the same standard, different browser models have differences in
The so-called DOCTYPE, originally the concept of XML, that is, through a specific syntax, as a kind of metadata, to describe the elements allowed in the XML document, as well as the composition of the elements, nested rules and so on. Specific
Transferred from: http://www.cnblogs.com/GrayZhang/archive/2011/03/31/learning-html5-doctype.htmlThe previous article mainly describes the composition of the HTML document, while superficially touching the concept of "label omission", this article
The DOCTYPE statement follows certain rules that indicate what set of rules the reader should use to interpret the markup in the document.
DOCTYPE not scary, but take it away, will make you scared and afraid.
Recently in the blue ideal around,
Address: http://www.w3schools.com/xhtml/xhtml_syntax.aspTranslation: Fan weixiao The XHTML standard defines three document type definitions.The most common is the XHTML transitional.The XHTML standard defines three types of documents, the most
HTML tag, htmldoctype tag
By default, the FF and IE interpretation standards are different. That is to say, if a webpage does not declare DOCTYPE, it will explain the following HTML with the default DOCTYPE. Under the same standard, different
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.